package com.tobby.camel.camelinaction.chapter2.packagescan;

import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class FileToJmsMain {

	public static void main(String[] args) throws InterruptedException {
		AbstractApplicationContext context = new ClassPathXmlApplicationContext("com/tobby/camel/camelinaction/chapter2/packagescan/spring-context.xml");
		Thread.sleep(5000);
		context.close();
	}

}
